cmake_minimum_required(VERSION 3.8)
project(TestOpenCV2)
find_package(OpenCV REQUIRED)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
include_directories(${OpenCV_INCLUDE_DIRS})
add_executable(TestOpenCV2 TestOpenCV.cpp)
target_link_libraries(TestOpenCV2 ${OpenCV_LIBS})
